<div data-ng-controller="HomeController" style="background-color: #F6F5F3;height: 100%">
	<div class="menubar">
		<div class="head-image">
			<img ng-src="images/admin.png" height="48px" width="48px" class="img-circle"><br/>
			<div class="loginUserName">{{user.userName}}</div>
			<div class="loginUserLevel">{{user.level}}</div>
			<!-- <div style="margin-top: 20px;">
                <a href="" data-ng-click="logout()" style="color: #d3eaed;font-size: 13px;">退出登录</a>
            </div> -->
		</div>
		<ul class="nav nav-stacked nav-first">
			<li ng-repeat="menu in user.menus track by menu.markName" >
                <!--单一级菜单-->
				<a ng-if="menu.subMenus==null" data-ui-sref="{{menuConfig[menu.markName].routeURL}}" ng-click="refreshCurMenu(menu)"
                   data-ng-mouseout="menu.focus = !menu.focus" data-ng-mouseover="menu.focus = !menu.focus" class="hand"
                   data-ng-class="{'first-menu-li-hover':menuConfig[menu.markName].locationURL == currentMenuItem.locationURL}">
                    {{menuConfig[menu.markName].name}}
                </a>
                <!--有二级菜单-->
				<a ng-if="menu.subMenus && menu.subMenus.length>0" data-ng-click="toggleSub($event,menu)" id="{{menu.markName+'_menuItemA'}}"
                   data-ng-mouseout="menu.focus = !menu.focus" data-ng-mouseover="menu.focus = !menu.focus" class="hand">
					{{menuConfig[menu.markName].name}}
				</a>
				<!-- <ul ng-if="menu.subMenus && menu.subMenus.length>0" class="nav menu-second">
					<li ng-repeat="subMenu in menu.subMenus track by subMenu.markName"
                        ng-click="refreshCurMenu(subMenu)">
                        <a data-ui-sref="{{menuConfig[subMenu.markName].routeURL}}" data-ng-class="{'second-menu-li-hover':menuConfig[subMenu.markName].locationURL == currentMenuItem.locationURL}">{{menuConfig[subMenu.markName].name}}</a>
                    </li>
				</ul> -->
			</li>
		</ul>
	</div>
	
    <div data-fc-loading></div>
    
	<div data-ng-class="{'contents-transform' : isShowSidebar}" class="contents" style="background-color: #FDFCFB;height: 65px;position: fixed;width: 100%">
		<div>
			<div class="menuUrl" style="padding-left: 20px;float:left;padding-top: 3px;position: fixed;width: 400px;">
				{{currentMenuItem.title}}
			</div>
			
			<div data-fc-update-password  userId="{{userId}}"   data-ng-click="updatePassword()" style="position:fixed;right:60px; float: right;padding-top: 3px;width: 50px;height: 30px;cursor: pointer;z-index: 11; font-weight: bold;">
			   	修改密码
			</div>
			<div data-ng-click="logout()" style="position:fixed;right:20px; float: right;padding-top: 3px;width: 30px;height: 30px;cursor: pointer;z-index: 11; font-weight: bold;">
			   	退出
			</div>
		</div>
		
		<div style="padding-top: 5px;position:fixed">
			<div style="float:left; display:inline">
				<hr style="border: 0; background-color: #F77700; height: 3px; width: 140px;margin-left: 0px;margin-top:40px;z-index: 1;position:fixed; ">
			</div>
			<div style="float:left; display:inline">
				<hr style="border: 0; background-color: #E5E1DA; height: 3px; width: 100%;padding-left: 512px;margin-top:40px;position: fixed;">
			</div>
		</div>
	
		<div  data-ui-view style="margin-top: 50px;"></div>
	</div>
</div>